namespace APITransLib.Contracts;

public class GroupDto
{
    public required string Id { get; init; }
    public required string Name { get; set; }
    public required List<string> MemberUserIds { get; init; } = new();
}

public class CreateGroupRequest
{
    public required string Name { get; init; }
    public List<string> MemberUserIds { get; init; } = new();
}

public class CreateGroupResponse
{
    public required GroupDto Group { get; init; }
}

public class AddUsersToGroupRequest
{
    public required string GroupId { get; init; }
    public required List<string> UserIds { get; init; }
}
